package com.qijia.common.dao;

import java.util.List;
import com.qijia.common.domain.Resource;

/**
 * Interface for CommonResourceDAO.
 * 
 * @author MyEclipse Persistence Tools
 */

public interface ResourceDAO extends JpaBaseDaoSupport<Resource>{

	public List<Resource> findByCResourceName(Object ResourceName,
			int... rowStartIdxAndCount);

	public List<Resource> findByCResourceTitle(Object ResourceTitle,
			int... rowStartIdxAndCount);

	public List<Resource> findByCResourceCode(Object ResourceCode,
			int... rowStartIdxAndCount);

	public List<Resource> findByCResourceUrl(Object ResourceUrl,
			int... rowStartIdxAndCount);

	public List<Resource> findByCResourceType(Object ResourceType,
			int... rowStartIdxAndCount);

	public List<Resource> findResourceByRoleId(Integer roleId);
}